Created
February 26, 2010 00:44
-
-
Save nixeagle/315251 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <nixeagle> \o/ [06:33] | |
| <nixeagle> badipod: this ... is why you profile before you | |
| optimize the wrong blasted thing XD [06:36] | |
| <nixeagle> 11.417 | 1,049,028,592 | 126 | 0.090610 | | |
| ENSURE-TREE-SYMBOLS | |
| <nixeagle> 0.652 | 10,066,976 | 126 | 0.005171 | | |
| INTERN-TREE-SPECIALIZER | |
| <badipod> lol? .-. [06:39] | |
| <nixeagle> badipod: I optimized INTERN-TREE-SPECIALIZER :P | |
| <badipod> hmm, I seem to remember having problens getting | |
| glib... | |
| <badipod> nixeagle hah XD | |
| <nixeagle> see... where the real problem is XD | |
| <badipod> mhm :P [06:40] | |
| <nixeagle> 1,049,028,592 << thats in bytes ... so roughly 1GB | |
| of memory XD | |
| <badipod> .-. [06:41] | |
| <nixeagle> not used all at one time mind you! | |
| <badipod> lol | |
| <nixeagle> we do have smart GC, but the fact that we had to | |
| malloc that much ;) | |
| <badipod> XD | |
| <nixeagle> anyway all ensure-tree-symbols does is make sure | |
| the list is a list of (:keyword :symbols :like | |
| :this) instead of (keyword symbols like this) or | |
| "keyword symbols like this" [06:42] | |
| <badipod> fun :o [06:43] | |
| <nixeagle> and badipod here is the cincher! After the first | |
| time we call ensure-tree-symbols... all future | |
| ensure-tree-symbols is being passed a list that | |
| looks like this: (:keyword :symbols :like :this) | |
| <badipod> XD | |
| <badipod> I see | |
| <nixeagle> highly amusing :D [06:44] | |
| <nixeagle> duck will laugh tomorrow :D | |
| <badipod> ;D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment