Performance improvement for FactorStream
parent
b81477008f
commit
9c73f061a7
|
@ -35,7 +35,7 @@
|
||||||
- NPE in ErrorHighlight
|
- NPE in ErrorHighlight
|
||||||
- some way to not have previous definitions from a source file
|
- some way to not have previous definitions from a source file
|
||||||
clutter the namespace
|
clutter the namespace
|
||||||
- use inferior.factor for everything not just listener
|
- ExternalFactor VocabularyLookup
|
||||||
- fedit broken with listener
|
- fedit broken with listener
|
||||||
- maple-like: press enter at old commands to evaluate there
|
- maple-like: press enter at old commands to evaluate there
|
||||||
- completion in the listener
|
- completion in the listener
|
||||||
|
@ -66,7 +66,6 @@
|
||||||
- OOP
|
- OOP
|
||||||
- room. prints code heap size
|
- room. prints code heap size
|
||||||
- refactor sort
|
- refactor sort
|
||||||
- ditch java factor
|
|
||||||
- ditch object paths
|
- ditch object paths
|
||||||
- browser responder for word links in HTTPd; inspect responder for
|
- browser responder for word links in HTTPd; inspect responder for
|
||||||
objects
|
objects
|
||||||
|
|
|
@ -48,10 +48,13 @@ public class FactorStream
|
||||||
public FactorStream(Socket socket) throws IOException
|
public FactorStream(Socket socket) throws IOException
|
||||||
{
|
{
|
||||||
this.socket = socket;
|
this.socket = socket;
|
||||||
this.in = new DataInputStream(socket.getInputStream());
|
this.in = new DataInputStream(new BufferedInputStream(
|
||||||
this.out = new DataOutputStream(socket.getOutputStream());
|
socket.getInputStream()));
|
||||||
|
this.out = new DataOutputStream(new BufferedOutputStream(
|
||||||
|
socket.getOutputStream()));
|
||||||
|
|
||||||
out.write("\"\\0\" write flush USE: jedit stream-server\n".getBytes("ASCII"));
|
out.write("\"\\0\" write flush USE: jedit stream-server\n"
|
||||||
|
.getBytes("ASCII"));
|
||||||
out.flush();
|
out.flush();
|
||||||
|
|
||||||
/* Read everything until prompt */
|
/* Read everything until prompt */
|
||||||
|
|
|
@ -83,6 +83,9 @@ USE: lists
|
||||||
|
|
||||||
[ [ bad-recursion-2 ] infer ] unit-test-fails
|
[ [ bad-recursion-2 ] infer ] unit-test-fails
|
||||||
|
|
||||||
|
! Simple combinators
|
||||||
|
[ [ 1 | 2 ] [ [ car ] keep cdr ] infer ] unit-test
|
||||||
|
|
||||||
[ [ 2 | 1 ] ] [ [ 2list ] infer ] unit-test
|
[ [ 2 | 1 ] ] [ [ 2list ] infer ] unit-test
|
||||||
[ [ 3 | 1 ] ] [ [ 3list ] infer ] unit-test
|
[ [ 3 | 1 ] ] [ [ 3list ] infer ] unit-test
|
||||||
[ [ 2 | 1 ] ] [ [ append ] infer ] unit-test
|
[ [ 2 | 1 ] ] [ [ append ] infer ] unit-test
|
||||||
|
|
Loading…
Reference in New Issue