Skip to content
Snippets Groups Projects
Commit 66d928b3 authored by Per Hedbor's avatar Per Hedbor
Browse files

Made some function non-PMOD_EXPORT. Added pure and malloc attributes.

This generates somewhat better code for some functions.

As an example, reverse(40Mb string) now takes 0.098 instead of 0.114s,
or about 16% faster on my computer (gcc 4.4.3).

We really should go through all functions that are exported, and see
which can be un-exported, and perhaps some more can be made static.
parent bde77ef0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment