On Monday 22 June 2009 03:22:56 Vasily Chekalkin wrote: > a) 1 usage of cstring Hash in string/api.c for constants. Can be easily > converted to normal STRING*. (Thinking little bit) Hey. What about > unicode constants? Especially UCS2?
That code uses that cache to *avoid* creating new STRINGs when something wants a new constant STRING. If you make it a STRING hash, you might as well remove it. Benchmark it if you do. -- c _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
