Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • 9.0
  • 8.0
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • nt-tools
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
  • v8.0.1982
  • v8.0.1980
  • v8.0.1978
  • v8.0.1976
  • v8.0.1974
  • v8.0.1972
  • v8.0.1970
  • v8.0.1968
  • v8.0.1966
  • v8.0.1964
  • v8.0.1962
  • v8.0.1960
40 results

pike

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Per Hedbor authored
    Especially in error handling, and code that does a lot of other string
    operations anyway the speed gain is not wort the 100+ bytes code size
    of each instance of push_constant_text
    
    This saves about 20K of code size (main pike binary), while not really
    changing the speed much.
    
    push_constant_text that seemed to be in at least pseudo-time-critical
    code was kept as they were.
    
    On a related note, push_constant_text(":") four times in a row creates
    four different string variables, for obvious reasons.
    
    Some of the remaining push_constant_text really should have a
    module/file local string variable, even though that is more bothersome
    to create.
    
    It might be nice to have this in .cmod files automatically.
    7cf016a1
    History
    Name Last commit Last update