| cbowmanMI | or is perl clouding my brain again |
| teferi | cbowmanMI: the crossover point is well below n=20 |
| johnjacky | ah thanks.. eruby is fine though ? |
| LoganCapaldo | cbowmanMI: depends on the hash function at that point |
| ehird | there are no "methods" because Blah.deblah calls Blah.message_handler deblah, not Blah.deblah |
| teferi | johnjacky: don't do that johnjacky: ruby is not php |
| johnjacky | :-) I understand |
| apeiros | I'd guess it is even below n=5 |
| kbrooks | ehird, um, if you remove all methods except #{method_name =~ /^__/}, it will become a proxy |
| teferi | johnjacky: use a proper webapp framework with a dispatcher apeiros: I think it may be 7-10 Possibly even 17 |
| ehird | kbrooks: Yes, but it's not true messages. >See above< because I just /did/ give an elaboratin |
| action | kbrooks is unsure if ehird actually elaborated |
| kbrooks | is unsure if ehird actually elaborated |
| ehird | well, i did |
| LoganCapaldo | remove all methods. alias message_handler method_missing |
| apeiros | teferi, with 3 symbols hash is already faster |
| teferi | apeiros: hm. |
| apeiros | if you lookup for the 3rd symbol in the array |
| kbrooks | ehird, method_missing is the meta-message for a not-found message... |
| teferi | apeiros: nontrivially faster? not lost in the noise? |
| kbrooks | ehird, and it IS a method |
| ehird | kbrooks: >in a message based language every message is a not-found message<. Ruby: Something.blah --> something.blah gets called |
| apeiros | teferi, trivially faster |
| kbrooks | anyway, by the words of teferi, ehird, this argument is extremely asinine |
| ehird | Something.noexist -> method_missing gets called, errors true Message based language: Something.blah -> method_missing gets called, does stuff, by default runs a blah method |
| teferi | ehird: you urgently need to take a look at how smalltalk works |
| ehird | Something.noexist -> method_missing gets called, tries to do the same, fails, errors |
| apeiros | that means starting from 6 elements (assuming your lookups are linearly "divided") you're gaining with hash |
| teferi | seeing as it's where messages CAME from |
| hrnt | ehird: that looks like a program with access to the metaobject protocol |
| teferi | apeiros: so my first guess was right :) |
| kbrooks | hrnt, metaobject? |
| raggi | Can someone explain why you would want Transactions for writing PDF files? the format looks simple enough, I can't see why you'd want to backup a large memory space at ANY point? |