I forgot to mention the for loop invariant.
By test results are according to
var times = document.getElementById("times").value;
//Began capturing time
for(i=0; i < times; ++i)
{
...
}
I have converted it to
var times = parseInt(document.getElementById("times").value);
//Began capturing time
I wrote JS equivalent of my test case in 4 ways.
function mgpoint1(x,y)
{
this.x = x;
this.y = y;
this.getX = function()
{
return this.x;
}
this.getY = function()
{
return this.y;
}
this.getDimension = function()
{
return 2;
}
this.setCoordinates = function(
No effect.
On 24 Ekim, 19:21, Thomas Broyer wrote:
> Are you compiling with -XdisableCastChecking? That might make a difference.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@goog
Hi.
My drawing operation was too slow with respect to Java.
I observed the code. So I get Canvas is faster than Graphics2D with AA
on.
But what was that slowness?
Many times, I'm creating a point object with several methods. The
creation of those objects were much slower than java.
I deleted th
I forgot mentioning the condition that we are creating a library (API)
not a web page.
The API contains a part of an IP (the gwt-safe Java library), because
of that reason it should be at least obfuscated.
On Sep 26, 6:48 pm, Jeff Larsen wrote:
> you could use the unobfuscated version of the pro
There are many topics about obfuscation, but they are about js
obfuscation.
I'm sure my question was asked before. But I didn't find.
We have a java library which is closed source. With some effort, we
modified the library as gwt-safe.
The problem here is that this library should be closed source.
I'm emulating some of java.awt classes in GWT.
I'm using such a scheme:
1. I'm creating a separate project for the emulation library.
2. Suppose my module is com.mylib.AWT (Think for the class
com.mylib.emul.java.awt.Color)
3. I'm setting com.mylib.emul as Source folder.
4. The emul project now can
What is the purpose of com.google.user.rebind package?
Are they server-side classes? I ask this because they contain
references to BufferedImage.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to google-w
I think canvas should contain a method to clear entire canvas
regardless of current context.
The clearing approach with Integer.MIN-MAX works great on
chrome,safar,opera but not ie and ff.
/*
* canvas.getContext2d().save();
* canvas.getContext2d().setTransform(1,0,0,1,0,0);
* canvas.getContext