Skip to content

arrays arithmetic - #628

Merged
izulin merged 24 commits into
developfrom
pu/arrays
May 14, 2021
Merged

izulin merged 24 commits into
developfrom
pu/arrays

Conversation

@izulin

@izulin izulin commented Apr 12, 2021 •

Copy link
Copy Markdown
Contributor

Context

Added array type: supports binary and unary operations, broadcasting, and can be passed to functions accepting ranges (including *LOOKUP, MATCH, INDEX).
Feature availability is controlled by a config flag.

How has this been tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature or improvement (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Additional language file or change to the existing one (translations)

Related issue(s):

  1. Support Array type #131

Checklist:

  • My code follows the code style of this project,
  • My change requires a change to the documentation,
  • I described the modification in the CHANGELOG.md file.

Comment thread src/Config.ts
const PossibleGPUModeString: GPUMode[] = ['gpu', 'cpu', 'dev']

export interface ConfigParams {
arrays: boolean, //FIXME

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need reasonable name.

@codecov

codecov Bot commented Apr 12, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #628 (2a97111) into develop (0eb13b2) will increase coverage by 0.04%.
The diff coverage is 73.87%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #628      +/-   ##
===========================================
+ Coverage    92.48%   92.52%   +0.04%     
===========================================
  Files          164      164              
  Lines        38632    38735     +103     
  Branches      3543     3553      +10     
===========================================
+ Hits         35727    35841     +114     
+ Misses        2899     2888      -11     
  Partials         6        6              
Impacted Files Coverage Δ
src/Lookup/ColumnIndex.ts 84.63% <62.50%> (-0.44%) ⬇️
src/interpreter/Interpreter.ts 60.50% <64.00%> (+11.67%) ⬆️
src/Lookup/ColumnBinarySearch.ts 91.80% <87.50%> (-1.42%) ⬇️
src/Lookup/RowSearchStrategy.ts 97.43% <87.50%> (-2.57%) ⬇️
src/interpreter/plugin/LookupPlugin.ts 89.58% <90.24%> (-1.33%) ⬇️
src/Lookup/AdvancedFind.ts 90.62% <90.90%> (-1.38%) ⬇️
src/Config.ts 95.82% <100.00%> (+0.02%) ⬆️
src/Lookup/SearchStrategy.ts 98.00% <100.00%> (+0.04%) ⬆️
src/Matrix.ts 71.32% <100.00%> (+0.32%) ⬆️
src/interpreter/ArithmeticHelper.ts 82.39% <100.00%> (-0.03%) ⬇️
... and 4 more

@lgtm-com

lgtm-com Bot commented Apr 12, 2021

Copy link
Copy Markdown
Contributor

This pull request introduces 5 alerts when merging 8016acf into 82c0053 - view on LGTM.com

new alerts:

  • 5 for Unused variable, import, function or class

@izulin izulin changed the title Pu/arrays array arithmetic Apr 13, 2021
@izulin
izulin requested a review from wojciechczerniak April 13, 2021 14:03
@lgtm-com

lgtm-com Bot commented Apr 13, 2021

Copy link
Copy Markdown
Contributor

This pull request introduces 5 alerts when merging 978d729 into 82c0053 - view on LGTM.com

new alerts:

  • 5 for Unused variable, import, function or class

@lgtm-com

lgtm-com Bot commented Apr 14, 2021

Copy link
Copy Markdown
Contributor

This pull request introduces 5 alerts when merging ae7a64c into 67d5802 - view on LGTM.com

new alerts:

  • 5 for Unused variable, import, function or class

@lgtm-com

lgtm-com Bot commented Apr 14, 2021

Copy link
Copy Markdown
Contributor

This pull request introduces 5 alerts when merging a0f8a29 into fe5be0d - view on LGTM.com

new alerts:

  • 5 for Unused variable, import, function or class

@lgtm-com

lgtm-com Bot commented Apr 19, 2021

Copy link
Copy Markdown
Contributor

This pull request introduces 5 alerts when merging edb82bd into 83da8c8 - view on LGTM.com

new alerts:

  • 5 for Unused variable, import, function or class

@izulin izulin changed the title array arithmetic WIP: arrays Apr 26, 2021
@lgtm-com

lgtm-com Bot commented Apr 26, 2021

Copy link
Copy Markdown
Contributor

This pull request introduces 5 alerts when merging a1652f5 into c223cd0 - view on LGTM.com

new alerts:

  • 5 for Unused variable, import, function or class

@izulin izulin changed the title WIP: arrays arrays Apr 26, 2021
@izulin izulin changed the title arrays arrays arithmetic Apr 26, 2021
@lgtm-com

lgtm-com Bot commented Apr 27, 2021

Copy link
Copy Markdown
Contributor

This pull request introduces 5 alerts when merging 952d6bd into cf800ce - view on LGTM.com

new alerts:

  • 5 for Unused variable, import, function or class

@izulin izulin mentioned this pull request May 7, 2021
7 tasks
@lgtm-com

lgtm-com Bot commented May 14, 2021

Copy link
Copy Markdown
Contributor

This pull request introduces 5 alerts when merging 2a97111 into 0eb13b2 - view on LGTM.com

new alerts:

  • 5 for Unused variable, import, function or class

@izulin
izulin merged commit aa1e4d1 into develop May 14, 2021
@izulin
izulin deleted the pu/arrays branch May 14, 2021 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants