|
Re: hash multithreading and cross language issue: msg#00581lang.perl.perl6.internals
Sam Ruby <rubys@xxxxxxxxxxxxxxxx> wrote: > I note that the perlscalar code is careful about multithreading issues > (example: "if we morph to a string, first clear str_val so that after > changing the vtable a parallel reader doesn't get a gargabe pointer"), > but reuses a static PMC* intret. Lets postpone multi-threading issues for a while. > dict = {} > dict[1] = 'foo' > dict["1"] = 'bar' > print dict[1] > For Python support, it would be ideal if there would be a hash method > entry in the VTABLE for each object. Not only ideal but necessary. The stringification of hash keys is a perlism that just isn't usable for Python. > - Sam Ruby leo |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Python/Pirate status: 00581, Leopold Toetsch |
|---|---|
| Next by Date: | [CVS ci] indirect register frame 9 - go: 00581, Leopold Toetsch |
| Previous by Thread: | hash multithreading and cross language issuei: 00581, Sam Ruby |
| Next by Thread: | [CVS ci] indirect register frame 9 - go: 00581, Leopold Toetsch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |