[haXe] Ugly serializer bug
Nicolas Cannasse
ncannasse at motion-twin.com
Tue Dec 4 12:34:20 CET 2007
Michael Pliskin a écrit :
> Hello Nicolas,
>
> Yes I agree - problem is much more general. I was thinking to
> securitize all keys in hashtable by prefixing them with something
> (like '|' I did in patch) - I am just not sure how to deal with
> keys() method, seems easy otherwise. I can work on it if you give
> me some pointers to that..
Well, one possibility would be to iterator over __keys__ result but that
would be quite inneficient. So I guess, i'll have to add a __skeys__
that generates bytecode that strip the first char out of keys. This will
be an additional call per key but I don't see any other solution.
Best,
Nicolas
More information about the Haxe
mailing list