lehitoskin / ivy

Ivy, the Taggable Image Viewer
GNU General Public License v3.0
16 stars 3 forks source link

Change pathing #51

Closed lehitoskin closed 7 years ago

lehitoskin commented 7 years ago

Change the pathing in some cases that determine which OS we are using from a simple if statement to a macro possibly? That would make it so the code is executed at expansion time instead of runtime (I think). Hopefully this would make ivy slightly faster at startup.

lehitoskin commented 7 years ago

First cursory glance isn't looking good. The only paths that are static like this would be in files.rkt - the changes made don't affect startup times in any appreciable manner.

lehitoskin commented 7 years ago

Asking around in the Racket Users mailing list makes it seem that any startup optimizations that I might discover would be non-obvious and non-trivial. I'll close this for now.