lucy-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Wellnhofer (JIRA)" <j...@apache.org>
Subject [lucy-issues] [jira] [Commented] (CLOWNFISH-15) Method OFFSET vars should be uint32_t instead of size_t
Date Fri, 17 Apr 2015 19:50:00 GMT

    [ https://issues.apache.org/jira/browse/CLOWNFISH-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500546#comment-14500546
] 

Nick Wellnhofer commented on CLOWNFISH-15:
------------------------------------------

Should the ivars offsets and sizes also be limited to 32 bit?

> Method OFFSET vars should be uint32_t instead of size_t
> -------------------------------------------------------
>
>                 Key: CLOWNFISH-15
>                 URL: https://issues.apache.org/jira/browse/CLOWNFISH-15
>             Project: Apache Lucy-Clownfish
>          Issue Type: Improvement
>            Reporter: Marvin Humphrey
>
> To save a little space on 64-bit systems, the global OFFSET variables we use to store
offsets into vtables should be uint32_t instead of size_t.  We'll never need to support so
many methods on a given class that we exceed the capacity of a uint32_t.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message