Menu

#5622 simplify Spanner pure property cache

Fixed
Dan Eble
Enhancement
2019-12-02
2019-11-27
Dan Eble
No

(1) int->vsize in Spanner

This change will avoid new type-conversion warnings when similar
changes are made in other places in the future. It does not on its
own reduce the number of warnings.

(2) simplify Spanner pure property cache

  • move construction of key into a function
  • call scm_cons2 instead of calling scm_cons twice
  • simplify testing whether the cache has been initialized

https://codereview.appspot.com/549220043

Discussion

  • Dan Eble

    Dan Eble - 2019-11-27
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,10 +1,10 @@
    -1. int->vsize in Spanner
    +(1) int->vsize in Spanner
    
     This change will avoid new type-conversion warnings when similar
     changes are made in other places in the future.  It does not on its
     own reduce the number of warnings.
    
    -2. simplify Spanner pure property cache
    +(2) simplify Spanner pure property cache
    
     * move construction of key into a function
     * call scm_cons2 instead of calling scm_cons twice
    
    • Needs: -->
     
  • Dan Eble

    Dan Eble - 2019-11-27
    • Needs: -->
    • Type: --> Enhancement
     
  • Anonymous

    Anonymous - 2019-11-28
    • Patch: new --> review
     
  • Anonymous

    Anonymous - 2019-11-28

    Passes make. make check and a full make doc.

     
  • Anonymous

    Anonymous - 2019-11-30
    • Patch: review --> countdown
     
  • Anonymous

    Anonymous - 2019-11-30

    Patch on countdown for Dec 2nd.

     
  • Anonymous

    Anonymous - 2019-12-02
    • Patch: countdown --> push
     
  • Anonymous

    Anonymous - 2019-12-02

    Patch counted down - please push.

     
  • Dan Eble

    Dan Eble - 2019-12-02
    • labels: --> Fixed_2_21_0
    • status: Started --> Fixed
    • Patch: push -->
     
  • Dan Eble

    Dan Eble - 2019-12-02
    commit 5d80826390e9d3bd6eb7fb404dfc80d2a86cf04d
    Author: Dan Eble <nine.fierce.ballads@gmail.com>
    Date:   Tue Nov 26 14:49:40 2019 -0500
    
        Issue 5622/2: simplify Spanner pure property cache
    
        * move construction of key into a function
        * call scm_cons2 instead of calling scm_cons twice
        * simplify testing whether the cache has been initialized
    
    commit 7877efd58f23ade728f2b7bf1011b8c7c1b1cf40
    Author: Dan Eble <nine.fierce.ballads@gmail.com>
    Date:   Tue Nov 26 14:43:20 2019 -0500
    
        Issue 5622/1: int->vsize in Spanner