Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 78a4997

Browse files
the-grid-search
1 parent 3dacaff commit 78a4997

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎the-grid-search.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,11 @@ const getIndexes = (pattern, match) => {
3838
function gridSearch(G, P) {
3939
let gridLength = G.length;
4040
let patternLength = P.length;
41-
// console.log('G_length :', G_length, ' P_length:', P_length);
4241
for (let gridIndex = 0; gridIndex < gridLength; gridIndex++) {
4342
let patternIndex = 0;
4443
let currentGrid = G[gridIndex + patternIndex];
4544
let currentPattern = P[patternIndex];
4645
let indexes = getIndexes(currentGrid, currentPattern);
47-
// console.log(indexes);
4846
for (let k = 0; k < indexes.length; k++) {
4947
let pos = indexes[k];
5048
for (patternIndex = 1; patternIndex < patternLength; patternIndex++) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /