Skip to content

Commit

Permalink
Fixed template handling of numbers (at some performance cost, try to …
Browse files Browse the repository at this point in the history
…replace the force_json_number with something like the GetNumberFromObj macro in the Tcl core to restore the performance)
  • Loading branch information
cyanogilvie committed Feb 4, 2015
1 parent 196a952 commit 94c077a
Show file tree
Hide file tree
Showing 5 changed files with 481 additions and 67 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ INSTALL_LIBRARY = @INSTALL_LIBRARY@
PACKAGE_NAME = rl_json
PACKAGE_VERSION = 0.5
CC = gcc
CFLAGS_DEFAULT = -g
CFLAGS_DEFAULT = -O2 -fomit-frame-pointer
CFLAGS_WARNING = -Wall -Wno-implicit-int
EXEEXT =
LDFLAGS_DEFAULT = -Wl,--export-dynamic
Expand Down Expand Up @@ -164,7 +164,7 @@ CLEANFILES = scripts-stamp scripts/tclIndex
CPPFLAGS =
LIBS = -L/home/cyan/local/lib -lyajl
AR = ar
CFLAGS = -O3 -pipe -m64 ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS}
CFLAGS = -O3 -pipe ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS}
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)

.SUFFIXES: .c .$(OBJEXT)
Expand Down
Loading

0 comments on commit 94c077a

Please sign in to comment.