ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject ignite git commit: IGNITE-1770: Fixed in a constant-time lookup algo.
Date Thu, 29 Oct 2015 08:47:58 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1770 50c82ed7b -> f6c2d7c87


IGNITE-1770: Fixed in a constant-time lookup algo.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f6c2d7c8
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f6c2d7c8
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f6c2d7c8

Branch: refs/heads/ignite-1770
Commit: f6c2d7c87f29ee99d59089a1a13c1bb6afdb26aa
Parents: 50c82ed
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Thu Oct 29 11:48:41 2015 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Thu Oct 29 11:48:41 2015 +0300

----------------------------------------------------------------------
 .../apache/ignite/internal/portable/PortableReaderExImpl.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/f6c2d7c8/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
index 1ed59c5..b0a3645 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
@@ -2533,7 +2533,7 @@ public class PortableReaderExImpl implements PortableReader, PortableRawReaderEx
      * @return Field offset.
      */
     private boolean hasField(int id) {
-        // TODO: Move to IGNITE-1803.
+        // TODO: Constant-time lookup.
 //        if (schema == null) {
 //            PortableObjectSchema schema0 = ctx.schema(typeId, schemaId);
 //
@@ -2561,7 +2561,7 @@ public class PortableReaderExImpl implements PortableReader, PortableRawReaderEx
 //        int fieldOffsetPos = schema.fieldOffsetPosition(id);
 //
 //        if (fieldOffsetPos != 0) {
-//            int fieldOffset = in.readIntPositioned(start + footerStart + fieldOffsetPos);
+//            int fieldOffset = in.readIntPositioned(footerStart + fieldOffsetPos);
 //
 //            in.position(start + fieldOffset);
 //


Mime
View raw message