Skip to content
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.

Commit

Permalink
Fix performance runner
Browse files Browse the repository at this point in the history
  • Loading branch information
SquidDev committed Aug 29, 2016
1 parent 81c05dd commit c227eee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# LuaJC [![Build Status](https://travis-ci.org/SquidDev/luaj.luajc.svg?branch=master)](https://travis-ci.org/SquidDev/luaj.luajc)
# LuaJC [![Build Status](https://travis-ci.org/SquidDev/luaj.luajc.svg?branch=cobalt)](https://travis-ci.org/SquidDev/luaj.luajc)
LuaJ, but faster

This is a fork of LuaJ's Lua to Java bytecode compiler. It has been
converted to use the ASM framework and many bugs have been fixed.

## Changes from the original
- Core debug support (`debug.traceback`, `debug.getinfo` and all debug hooks - you cannot get or change locals/upvalues though)
- Core debug support (`debug.traceback`, `debug.getinfo` and all debug hooks - you cannot get or change locals though)
- `string.dump` support
- `getfenv` and `setfenv` support
- Delayed compilation: only compile after n calls.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ protected static void execute(LuaState state, LuaTable globals, boolean compileO
if (QUIET) installQuite(globals);

try {
InputStream aesStream = PerformanceRunner.class.getResourceAsStream("/org/squiddev/luaj/luajc/aes/AesLua.lua");
InputStream speedStream = PerformanceRunner.class.getResourceAsStream("/org/squiddev/luaj/luajc/aes/AesSpeed.lua");
InputStream aesStream = PerformanceRunner.class.getResourceAsStream("/org/squiddev/cobalt/luajc/aes/AesLua.lua");
InputStream speedStream = PerformanceRunner.class.getResourceAsStream("/org/squiddev/cobalt/luajc/aes/AesSpeed.lua");

long start = System.nanoTime();
LuaFunction aes = state.compiler.load(aesStream, valueOf("@AesLua.lua"), globals);
Expand Down

0 comments on commit c227eee

Please sign in to comment.